Owen Taylor [Wed, 30 Jan 2002 02:01:10 +0000 (02:01 +0000)]
Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType,
Tue Jan 29 19:51:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkenums.h: Deprecate GtkPreviewType,
GtkSignalRunType, GtkSideType, GtkSubmenuPlacement, GtkSubmenuDirection
(#68183, Matthias Clasen)
* gtk/gtkmenuitem.h: Remove _gtk_menu_item_set_placement() from
the public header to avoid having to use GtkSubmenuPlacement.
* gtk/{gtkmenuitem.c,gtkmenubar.c,gtkmenushell.c}: #define
GTK_MENU_INTERNALS to preserve access to GtkSubmenu*.
* gdk/gdki18n.h: Deprecate contents. (Darin Adler.)
Owen Taylor [Wed, 30 Jan 2002 01:58:01 +0000 (01:58 +0000)]
Document that the end points are included in the range. (#69783, Jeffrey
Tue Jan 29 20:56:13 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtk[vh]scale.c (gtk_[vh]scale_new_with_range): Document
that the end points are included in the range. (#69783,
Jeffrey Baker)
Owen Taylor [Wed, 30 Jan 2002 01:47:27 +0000 (01:47 +0000)]
Revert the last changes to make the number of digits only effect drawing,
Tue Jan 29 20:38:04 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkscale.[ch]: Revert the last changes to make the
number of digits only effect drawing, instead, don't
round unless we are in the 'draw_value' mode -- this
is the behavior of GTK+-1.2, and keeps the behavior that
if the user sees a displayed value, it is the correct value.
Owen Taylor [Wed, 30 Jan 2002 01:02:43 +0000 (01:02 +0000)]
ue Jan 29 19:51:05 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkenums.h: Deprecate GtkPreviewType,
GtkSignalRunType, GtkSideType, GtkSubmenuPlacement, GtkSubmenuDirection
(#68183, Matthias Clasen)
* gtk/gtkmenuitem.h: Remove _gtk_menu_item_set_placement() from
the public header to avoid having to use GtkSubmenuPlacement.
* gtk/{gtkmenuitem.c,gtkmenubar.c,gtkmenushell.c}: #define
GTK_MENU_INTERNALS to preserve access to GtkSubmenu*.
* gdk/gdki18n.h: Deprecate contents. (Darin Adler.)
Owen Taylor [Wed, 30 Jan 2002 00:35:51 +0000 (00:35 +0000)]
Fix wrong usage of g_value_set/get_object for PROP_TABS and memory leak in
Tue Jan 29 19:32:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get/set_property):
Fix wrong usage of g_value_set/get_object for PROP_TABS
and memory leak in getter for PROP_TABS. (Jeff Franks)
Owen Taylor [Wed, 30 Jan 2002 00:08:41 +0000 (00:08 +0000)]
Document that a size of (GtkIconSize)-1 means don't scale.
Tue Jan 29 19:04:41 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_render_icon): Document that
a size of (GtkIconSize)-1 means don't scale.
* gtk/gtkstyle.c (gtk_default_render_icon): Obey the
-1 convention.
* gtk/gtkimage.c (gtk_image_expose): Pass in -1 to
gtk_style_render_icon() to make sure that we catch it
obviously if the style's render function tries to
scale.
Havoc Pennington [Tue, 29 Jan 2002 23:59:21 +0000 (23:59 +0000)]
Optimize exposes of partial insensitive images.
Tue Jan 29 18:50:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimage.c (gtk_image_expose): Optimize exposes of
partial insensitive images.
2002-01-24 Havoc Pennington <hp@redhat.com>
* gtk/gtkimage.c (gtk_image_expose): create insensitive version of
the image regardless of storage type, #63305
* demos/gtk-demo/images.c: add toggle button to demonstrate that
GtkImage makes its contents insensitive
Owen Taylor [Tue, 29 Jan 2002 22:46:21 +0000 (22:46 +0000)]
Call _gdk_draw_pixbuf(), thus enabling using this function for pixbufs
Tue Jan 29 17:40:02 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
Call _gdk_draw_pixbuf(), thus enabling using this function
for pixbufs with alpha. (#68801)
* gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Move
implementation of gdk_pixbuf_render_to_drawable()
to here.
Owen Taylor [Tue, 29 Jan 2002 22:27:17 +0000 (22:27 +0000)]
Patch from Jacob Berkman to fix problem when the height/width of a layout
Tue Jan 29 17:16:17 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtklayout.c: Patch from Jacob Berkman to fix problem
when the height/width of a layout was set before the
adjustments were added. (#66294)
* gtk/gtktreeview.c: Warning cleanups.
Owen Taylor [Tue, 29 Jan 2002 22:14:19 +0000 (22:14 +0000)]
Small fix to size of torn off window (#60271, Detlef Reichl)
Tue Jan 29 16:35:04 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkhandlebox.c (gtk_handle_box_motion): Small
fix to size of torn off window (#60271, Detlef Reichl)
* gtk/Makefile.am: Don't install gtkhsv.h. (Pointed out
by Ross Burton)
Kristian Rietveld [Tue, 29 Jan 2002 22:08:12 +0000 (22:08 +0000)]
free cursor_path after usage
Tue Jan 29 18:50:46 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): free
cursor_path after usage
(gtk_tree_view_real_start_interactive_search): use new g_signal
and g_object calls
(gtk_tree_view_search_dialog_destroy): use g_object calls and free
selected_iter if set
(gtk_tree_view_search_position_func): rework so it will never ever
appear offscreen (#68492)
(gtk_tree_view_search_move): use new g_object calls
(gtk_tree_view_search_init): free selected_iter if set, use new
g_object calls
(gtk_tree_view_leave_notify): don't destroy interactive search
dialog
Tue Jan 29 23:07:03 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
send focus in event
(gtk_tree_view_search_dialog_destroy): send focus out event (#66466)
Chyla Zbigniew [Tue, 29 Jan 2002 21:49:11 +0000 (21:49 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>
Anders Carlsson [Tue, 29 Jan 2002 21:29:55 +0000 (21:29 +0000)]
Show correct size in the size entry.
2002-01-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfontsel.c (gtk_font_selection_select_size): Show correct
size in the size entry.
Owen Taylor [Tue, 29 Jan 2002 21:17:13 +0000 (21:17 +0000)]
Use gtk_tree_view_set_cursor() instead of
Tue Jan 29 16:11:55 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes): Use
gtk_tree_view_set_cursor() instead of gtk_tree_selection_select_iter().
* gtk/gtkfontsel.c (gtk_font_selection_init): Add mnemonic to
preview field. (#52433, patch from Anders Carlsson)
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Remove the
dialog separator. (#69558, Alex Larsson, patch from Anders Carlsson)
Owen Taylor [Tue, 29 Jan 2002 20:53:17 +0000 (20:53 +0000)]
Switch over to GtkTreeView from GtkCList. Remove the entries above the
Tue Jan 29 15:24:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.[ch]: Switch over to GtkTreeView from
GtkCList. Remove the entries above the font/face lists
since they were a little confusing. (Not sure about this
change, so the code is still there the entries are
just hidden.) (#68890)
* gtk/gtkfilesel.c: Switch over to GtkTreeView from
GtkCList. Add mnemonics for fileops. Allow Control/Shift
Tab to focus out.
* gtk/gtkfilesel.c: Make fileop dialogs transient-for
the fileselector. (#69336, patch from Melvin Hadasht)
* gtk/gtkgamma.c (button_clicked_callback): Fix handling
of gamma dialog a bit. (#69336, Matthias Clasen.)
Owen Taylor [Tue, 29 Jan 2002 19:58:43 +0000 (19:58 +0000)]
Return boolean (and FALSE from focus_in / focus_out handlers. (#69528,
Tue Jan 29 14:56:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (toplevel_focus_out_handler): Return boolean
(and FALSE from focus_in / focus_out handlers. (#69528,
Padraig O'Briain)
Owen Taylor [Tue, 29 Jan 2002 19:49:26 +0000 (19:49 +0000)]
Remove the scary startup warning.
Tue Jan 29 14:47:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_init_check): Remove the scary startup
warning.
Owen Taylor [Tue, 29 Jan 2002 19:44:49 +0000 (19:44 +0000)]
Add <Control>Tab bindings for "move-focus" so that Control-Tab to escape
Tue Jan 29 14:24:49 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_class_init): Add <Control>Tab
bindings for "move-focus" so that Control-Tab to escape from
something that eats Tab just works if not otherwise overriden.
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range)
* gtk/gtkvscale.c (gtk_vscale_new_with_range)
* gtk/gtkhscale.c (gtk_hscale_new_with_range): Use a page_size
of zero for the adjustment, since at times we think that the range
is lower to upper - page_size. A page size equally to the
step_increment is, in any case, not meaningful.
Tor Lillqvist [Tue, 29 Jan 2002 13:59:47 +0000 (13:59 +0000)]
Add comment about gtk-1-3-win32-production branch currently being ahead in
2002-01-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Add comment about gtk-1-3-win32-production branch
currently being ahead in functionality and code cleanliness (in
gdk/win32). Just in case somebody looks at the code in gdk/win32
here and starts fixing it, when it is going to change soonish
anyway.
Sven Neumann [Tue, 29 Jan 2002 12:24:02 +0000 (12:24 +0000)]
don't install an empty icon_set if none of the image files could be found
2002-01-29 Sven Neumann <sven@gimp.org>
* gtk/gtkrc.c: don't install an empty icon_set if none of the image
files could be found in the pixmap_path (bug #69398).
Sven Neumann [Tue, 29 Jan 2002 11:47:15 +0000 (11:47 +0000)]
fixed a segfault that showed up when using the color picker.
2002-01-29 Sven Neumann <sven@gimp.org>
* gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): fixed a segfault
that showed up when using the color picker.
Tim Janik [Tue, 29 Jan 2002 11:35:28 +0000 (11:35 +0000)]
fix default value for ::digits property, leave as 1 as per havoc's
Tue Jan 29 11:51:14 2002 Tim Janik <timj@gtk.org>
* gtk/gtkscale.[hc]: fix default value for ::digits property,
leave as 1 as per havoc's request.
don't apply the draw_digits value to range->round_digits,
so we don't perform gross quantization by default.
Havoc Pennington [Tue, 29 Jan 2002 04:55:48 +0000 (04:55 +0000)]
fix assertion failure by creating the line data, but not validating it at
2002-01-25 Havoc Pennington <hp@redhat.com>
* gtk/gtktextbtree.c (_gtk_text_btree_delete): fix assertion
failure by creating the line data, but not validating it at this
stage. Also, remove old code related to the "bogus newline" mess
that removed all tags from the last char in the buffer if you
tried to delete it.
(_gtk_text_line_data_new): put this here and prepend underscore,
remove from gtktextlayout.c
Chyla Zbigniew [Tue, 29 Jan 2002 02:01:59 +0000 (02:01 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>
Owen Taylor [Tue, 29 Jan 2002 01:36:05 +0000 (01:36 +0000)]
modules/input/imhangul.c modules/input/imhangul-defs.h po/POTFILES.in. Add
Mon Jan 28 19:57:39 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/imhangul.c modules/input/imhangul-defs.h
po/POTFILES.in. Add port of Emacs korean-hangul input
method from Yusuke Tabata (#67665)
Owen Taylor [Mon, 28 Jan 2002 23:38:37 +0000 (23:38 +0000)]
ChangeLog fixups
Owen Taylor [Mon, 28 Jan 2002 23:28:16 +0000 (23:28 +0000)]
Paint focus before shadow to give theme engines a bit more flexibility.
Mon Jan 28 18:25:10 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_draw_frame): Paint focus
before shadow to give theme engines a bit more
flexibility. (#69857)
Szabolcs Ban [Mon, 28 Jan 2002 21:58:31 +0000 (21:58 +0000)]
Hungarian translations
Jonathan Blandford [Mon, 28 Jan 2002 21:24:27 +0000 (21:24 +0000)]
no longer g_assert.
Mon Jan 28 16:23:20 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): no longer
g_assert.
Owen Taylor [Mon, 28 Jan 2002 20:36:38 +0000 (20:36 +0000)]
Fix hint computation again.
Mon Jan 28 15:34:43 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-render.c (compute_hint): Fix hint computation
again.
Jon Trowbridge [Mon, 28 Jan 2002 20:28:52 +0000 (20:28 +0000)]
When setting the GtkTreeView's model, set prelight_node, prelight_tree,
2002-01-28 Jon Trowbridge <trow@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
GtkTreeView's model, set prelight_node, prelight_tree,
button_pressed_node and button_pressed_tree to NULL. (#69603)
Bill Haneman [Mon, 28 Jan 2002 20:19:42 +0000 (20:19 +0000)]
Changes to gtktreeview to better support thicker focus lines,
and enhancements to the visibility of the default expander when
its size has been increased.
Jonathan Blandford [Mon, 28 Jan 2002 19:48:48 +0000 (19:48 +0000)]
Only activate/edit the row if shift is not pressed, #69248
Mon Jan 28 14:44:40 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): Only
activate/edit the row if shift is not pressed, #69248
Anders Carlsson [Mon, 28 Jan 2002 19:37:47 +0000 (19:37 +0000)]
Fix build.
2002-01-28 Anders Carlsson <andersca@gnu.org>
* gtk/gtkcurve.c (gtk_curve_set_vector): Fix build.
Matthias Clasen [Mon, 28 Jan 2002 18:52:49 +0000 (18:52 +0000)]
General property notification cleanup.
Owen Taylor [Mon, 28 Jan 2002 17:25:14 +0000 (17:25 +0000)]
Fix problems in computing MISSING hint.
Mon Jan 28 12:17:07 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-render.c (compute_hint): Fix problems in computing
MISSING hint.
Jonathan Blandford [Mon, 28 Jan 2002 17:08:54 +0000 (17:08 +0000)]
Forgot to commit this last week.
Duarte Loreto [Mon, 28 Jan 2002 12:32:29 +0000 (12:32 +0000)]
Converted to UTF-8 (I read the README but forgot to do it before).
2002-01-28 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Converted to UTF-8 (I read the README but
forgot to do it before).
Anders Carlsson [Mon, 28 Jan 2002 07:43:26 +0000 (07:43 +0000)]
& with the default mod mask so accels work when numlock is on.
2002-01-28 Anders Carlsson <andersca@gnu.org>
* gtk/gtkaccelgroup.c (gtk_accel_groups_activate): & with the
default mod mask so accels work when numlock is on.
Owen Taylor [Mon, 28 Jan 2002 05:34:17 +0000 (05:34 +0000)]
Optimize the case where a component is entirely transparent by skipping
Sun Jan 27 23:58:13 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-render.c (compute_hint): Optimize the case
where a component is entirely transparent by skipping
drawing it.
* pixbuf-rc-style.c (theme_parse_image): Catch case
where background or overlay border/stretch are specified
without a background image.
* pixbuf-render.c (theme_pixbuf_destroy): Actually free
the structure and filename.
Kristian Rietveld [Sun, 27 Jan 2002 22:24:33 +0000 (22:24 +0000)]
ugh, I also forgot to add the date in the ChangeLog ...
Kristian Rietveld [Sun, 27 Jan 2002 22:21:27 +0000 (22:21 +0000)]
add _gtk_rbtree_mark_invalid (my previous commit already needed this ...)
Sun Jan 27 23:23:23 Kristian Rietveld <kris@gtk.org>
* gtk/gtkrbtree.[ch]: add _gtk_rbtree_mark_invalid (my previous
commit already needed this ...)
(/me broke the build for the first time ... :)
Kristian Rietveld [Sun, 27 Jan 2002 21:11:29 +0000 (21:11 +0000)]
Fix for bug #69586
Sun Jan 27 22:13:02 Kristian Rietveld <kris@gtk.org>
Fix for bug #69586
* gtk/gtktreeprivate.h: get rid of tab_offset, introduce
expander_size
* gtk/gtktreeview.c: get rid of ->priv->tab_offset, introduce
expander_size caching (from style), fix CELL_HEIGHT macro,
use MAX ("RBNODE_HEIGHT", expander_size) (differs per case) for
row height calculation, added style_set callback
Anders Carlsson [Sun, 27 Jan 2002 18:54:36 +0000 (18:54 +0000)]
Set the cursor to GDK_XTERM.
2002-01-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtklabel.c (gtk_label_create_window): Set the cursor to
GDK_XTERM.
Anders Carlsson [Sun, 27 Jan 2002 18:39:22 +0000 (18:39 +0000)]
add mouse_cursor_obscured.
2002-01-27 Anders Carlsson <andersca@gnu.org>
* gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured.
* gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured.
* gtk/gtktextview.c (set_invisible_cursor): New function.
(gtk_text_view_obscure_mouse_cursor): Likewise.
(gtk_text_view_key_press_event): Call obscure_cursor if text
has been inserted.
(gtk_text_view_motion_event): Restore the mouse cursor.
* gtk/gtkentry.c (gtk_entry_realize): Add GDK_POINTER_MOTION_MASK.
(set_invisible_cursor): New function.
(gtk_entry_obscure_mouse_cursor): Likewise.
(gtk_entry_key_press): call obscure_cursor if text has been inserted.
(gtk_entry_motion_notify): Restore the mouse cursor.
Ole Laursen [Sun, 27 Jan 2002 17:30:12 +0000 (17:30 +0000)]
Fixed a few type errors. :-)
2002-01-27 Ole Laursen <olau@hardworking.dk>
* da.po: Fixed a few type errors. :-)
Ole Laursen [Sun, 27 Jan 2002 17:15:14 +0000 (17:15 +0000)]
Updated Danish translation and converted it to UTF-8.
2002-01-27 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation and converted it to UTF-8.
Sven Neumann [Sun, 27 Jan 2002 16:39:29 +0000 (16:39 +0000)]
removed unused return value.
2002-01-27 Sven Neumann <sven@gimp.org>
* gtk/gtkstyle.c (sanitize_size): removed unused return value.
Owen Taylor [Sun, 27 Jan 2002 00:36:38 +0000 (00:36 +0000)]
Don't send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)
Owen Taylor [Sun, 27 Jan 2002 00:19:31 +0000 (00:19 +0000)]
Return FALSE not true in the grab_widget == NULL case. (Bug reported by
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true
in the grab_widget == NULL case. (Bug reported by
Padraig O'Briain, #69735)
* gtk/gtkplug.c (handle_modality_on): Realize the modality
window so gtk_widget_event() doesn't complain :-((((.
Federico Mena Quintero [Fri, 25 Jan 2002 21:38:13 +0000 (21:38 +0000)]
Merge from gdk-pixbuf stable.
2002-01-25 Federico Mena Quintero <federico@ximian.com>
Merge from gdk-pixbuf stable.
* gdk-pixbuf-xlib-drawable.c (rgb565msb): Fixed the endianness
conversion --- swap the individual 16 bit values instead of taking
everying as a 32 bit value.
(rgb565lsb): Likewise.
(rgb555lsb): Likewise.
(rgb555msb): Likewise.
Federico Mena Quintero [Fri, 25 Jan 2002 21:34:18 +0000 (21:34 +0000)]
Merge from gdk-pixbuf stable.
2002-01-25 Federico Mena Quintero <federico@ximian.com>
Merge from gdk-pixbuf stable.
* gdk/gdkpixbuf-drawable.c (rgb565msb): Fixed the endianness
conversion --- swap the individual 16 bit values instead of taking
everying as a 32 bit value.
(rgb565lsb): Likewise.
(rgb555lsb): Likewise.
(rgb555msb): Likewise.
Alex Larsson [Fri, 25 Jan 2002 17:10:03 +0000 (17:10 +0000)]
Implement copy_to_image instead of get_image
2002-01-25 Alex Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkdrawable-fb2.c (gdk_drawable_impl_fb_class_init):
Implement copy_to_image instead of get_image
* gdk/linux-fb/gdkimage-fb.c:
Implement _gdk_image_new_for_depth, _gdk_windowing_get_bits_for_depth and
_gdk_fb_copy_to_image.
Based in part on patch from Mathieu Lacage <mathieu_lacage@realmagic.fr>
* gdk/linux-fb/gdkmain-fb.c:
Make ENABLE_FB_MANAGER region larger.
* gdk/linux-fb/gdkprivate-fb.h:
Change _gdk_fb_get_image to _gdk_fb_copy_to_image.
Sven Neumann [Fri, 25 Jan 2002 14:34:20 +0000 (14:34 +0000)]
changed the comment so that gtk-doc doesn't get confused.
2002-01-25 Sven Neumann <sven@gimp.org>
* gtk/gtkwindow.c (gtk_window_get_size): changed the comment so
that gtk-doc doesn't get confused.
Tim Janik [Fri, 25 Jan 2002 13:22:00 +0000 (13:22 +0000)]
assert that the passed in arrow is always _UP or _DOWN, this catches false
Fri Jan 25 14:03:36 2002 Tim Janik <timj@gtk.org>
* gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): assert
that the passed in arrow is always _UP or _DOWN, this catches
false invocations which lead to drawing artefacts.
(start_spinning): likewise, i.e. sanity check the passed in arrow.
(gtk_spin_button_button_release): fix arrow redrawing.
(gtk_spin_button_button_press): must set click_child for
button3 even if we don't take spinning action right away.
* gtk/gtkspinbutton.h (struct _GtkSpinButton): document
valid values for click_child.
Kristian Rietveld [Thu, 24 Jan 2002 22:07:35 +0000 (22:07 +0000)]
update docs, return current FALSE if x is smaller than the current visible
Thu Jan 24 23:03:24 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): update docs,
return current FALSE if x is smaller than the current visible area,
not than the requested area, don't correct y coordinate,
TREE_WINDOW_Y_TO_RBTREE_Y will do that. Fixes #67477.
Hasbullah Bin Pit [Thu, 24 Jan 2002 21:49:44 +0000 (21:49 +0000)]
Updated Malay Translation.
2002-01-24 Hasbullah Bin Pit <sebol@ikhlas.com>
* ms.po : Updated Malay Translation.
Jonathan Blandford [Thu, 24 Jan 2002 20:42:48 +0000 (20:42 +0000)]
fix column reordering fully. (gtk_tree_view_size_allocate): fix evil bug.
Thu Jan 24 15:41:08 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c
(gtk_tree_view_motion_draw_column_motion_arrow): fix column
reordering fully.
(gtk_tree_view_size_allocate): fix evil bug.
Owen Taylor [Thu, 24 Jan 2002 16:54:54 +0000 (16:54 +0000)]
Don't clear the model until we clean up all the other objects that might
Thu Jan 24 11:53:19 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_destroy): Don't clear
the model until we clean up all the other objects
that might refer to the object.
Mark McLoughlin [Thu, 24 Jan 2002 15:59:37 +0000 (15:59 +0000)]
include gtk/gtkwidget.h
2002-01-24 Mark McLoughlin <mark@skynet.ie>
* gtk/gtkaccessible.h: include gtk/gtkwidget.h
Owen Taylor [Thu, 24 Jan 2002 01:36:39 +0000 (01:36 +0000)]
Use insensitive state for insensitive arrows, not just an "etched state".
Wed Jan 23 20:28:59 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_draw_arrow):
Use insensitive state for insensitive arrows, not
just an "etched state". (#67172, Adrian Custer)
Manish Singh [Thu, 24 Jan 2002 00:29:49 +0000 (00:29 +0000)]
use a variable that's actually been declared.
2002-01-23 Manish Singh <yosh@gimp.org>
* gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually
been declared.
Damon Chaplin [Wed, 23 Jan 2002 23:58:41 +0000 (23:58 +0000)]
set minimum gtk-doc version to 0.9, since we need to use the new
2002-01-23 Damon Chaplin <damon@ximian.com>
* configure.in (gtk_doc_min_version): set minimum gtk-doc version to
0.9, since we need to use the new --type-init-func argument for
gtkdoc-scangobj.
Damon Chaplin [Wed, 23 Jan 2002 23:52:43 +0000 (23:52 +0000)]
added SCANGOBJ_OPTIONS to set the type-init-func to pass to
2002-01-23 Damon Chaplin <damon@ximian.com>
* gtk/Makefile.am: added SCANGOBJ_OPTIONS to set the type-init-func
to pass to gtkdoc-scangobj.
Matthias Clasen [Wed, 23 Jan 2002 23:46:25 +0000 (23:46 +0000)]
Remove excessive g_return_if_fail() calls. (#57615)
* gtk/gtkentry.c, gtk/gtkwidget.c: Remove excessive
g_return_if_fail() calls. (#57615)
Matthias Clasen [Wed, 23 Jan 2002 22:51:01 +0000 (22:51 +0000)]
Make it work for paths with underline accelerators. (#69247)
* gtk/gtkitemfactory.c (gtk_item_factory_delete_entries): Make
it work for paths with underline accelerators. (#69247)
Owen Taylor [Wed, 23 Jan 2002 20:15:48 +0000 (20:15 +0000)]
Stop spinning if widget becomes insensitive. (#56248)
Wed Jan 23 15:12:16 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkspinbutton.c (gtk_spin_button_state_changed):
Stop spinning if widget becomes insensitive. (#56248)
Owen Taylor [Wed, 23 Jan 2002 19:51:43 +0000 (19:51 +0000)]
Decreate value since we now use doubles.
Wed Jan 23 14:44:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkspinbutton.c (EPSILON): Decreate value since
we now use doubles.
Jonathan Blandford [Wed, 23 Jan 2002 03:53:36 +0000 (03:53 +0000)]
Oops. Minor fix
Manish Singh [Tue, 22 Jan 2002 23:06:11 +0000 (23:06 +0000)]
remove old files (they live in the tests dir now)
-Yosh
Manish Singh [Tue, 22 Jan 2002 22:57:51 +0000 (22:57 +0000)]
shut up CVS
Jonathan Blandford [Tue, 22 Jan 2002 22:13:30 +0000 (22:13 +0000)]
Fix sizing bug I introduced accidentally, #69358
Tue Jan 22 16:58:37 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): Fix sizing bug
I introduced accidentally, #69358
Padraig O'Briain [Tue, 22 Jan 2002 15:44:20 +0000 (15:44 +0000)]
Update last change to prevent core dump
* gtk/gtktreestore.c (gtk_tree_store_iter_children):
Update last change to prevent core dump
Jonathan Blandford [Tue, 22 Jan 2002 05:00:50 +0000 (05:00 +0000)]
change guint16 to gint to reflect changes in the code, found by Jody
Mon Jan 21 23:39:42 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/tmpl/gtkfixed.sgml: change guint16 to gint to reflect
changes in the code, found by Jody Goldberg <jody@gnome.org>
Kristian Rietveld [Tue, 22 Jan 2002 00:21:40 +0000 (00:21 +0000)]
add some more stamp checks (pointed out by Anders Carlsson)
Mon Jan 21 01:21:54 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreestore.c: add some more stamp checks (pointed out
by Anders Carlsson)
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_insert_value): don't
assume _row_changed will insert sort (because _row_changed doesn't
need to follow this signal), so apply insert sort here
(gtk_tree_model_sort_level_find_insert): header doesn't need to be
set here, so use a return instead of g_return_val_if_fail.
Jonathan Blandford [Mon, 21 Jan 2002 23:30:17 +0000 (23:30 +0000)]
Update top_row. Remove extraneous print statements.
Mon Jan 21 18:28:17 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): Update
top_row. Remove extraneous print statements.
Matthias Clasen [Mon, 21 Jan 2002 18:44:20 +0000 (18:44 +0000)]
Document allowed values for ifactory.
* gtk/gtkitemfactory.c (gtk_item_factory_popup,
gtk_item_factory_popup_with_data): Document allowed values
for ifactory.
* gtk/gtkitemfactory.c (gtk_item_factory_delete_entry): Make
it work for paths with underline accelerators.
Jonathan Blandford [Mon, 21 Jan 2002 17:38:28 +0000 (17:38 +0000)]
only resize the window.
Fri Jan 18 16:31:21 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): only resize the
window.
Owen Taylor [Mon, 21 Jan 2002 17:04:47 +0000 (17:04 +0000)]
Trap the case where there is no default widget and the entry is the focus
Mon Jan 21 11:56:31 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_real_activate): Trap the
case where there is no default widget and the entry
is the focus widget, since this also causes infinite
recursion. (#69158)
Owen Taylor [Mon, 21 Jan 2002 16:50:45 +0000 (16:50 +0000)]
Set the fallback program class here, rather than
Mon Jan 21 11:46:39 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_init_check): Set the fallback program class here,
rather than lazilygdk_get_program_class(), since we don't want
-name to override it. (#69123, Ryan Lovett)
Owen Taylor [Mon, 21 Jan 2002 15:41:47 +0000 (15:41 +0000)]
Fix wrong types for command line arguments (#69124, Ryan Lovett)
Mon Jan 21 10:29:45 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c: Fix wrong types for command line arguments
(#69124, Ryan Lovett)
* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
parsing '--arg VALUE'.
* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
Erwann Chenede [Mon, 21 Jan 2002 13:37:16 +0000 (13:37 +0000)]
file movedemo.c was initially added on branch gtk-multihead.
Erwann Chenede [Mon, 21 Jan 2002 13:37:16 +0000 (13:37 +0000)]
file multidisplay.c was initially added on branch gtk-multihead.
Erwann Chenede [Mon, 21 Jan 2002 13:37:16 +0000 (13:37 +0000)]
file multiscreen.c was initially added on branch gtk-multihead.
Erwann Chenede [Mon, 21 Jan 2002 13:37:16 +0000 (13:37 +0000)]
file virtualscreen.c was initially added on branch gtk-multihead.
Havoc Pennington [Mon, 21 Jan 2002 05:58:33 +0000 (05:58 +0000)]
mention that window arg can be NULL
2002-01-21 Havoc Pennington <hp@pobox.com>
* gdk/gdkwindow.c (gdk_window_add_filter): mention that window
arg can be NULL
Manish Singh [Sun, 20 Jan 2002 04:52:47 +0000 (04:52 +0000)]
Made sure all the error cases involving jpeg or png load/saves clean
Sat Jan 19 20:49:20 2002 Manish Singh <yosh@gimp.org>
* io-jpeg.c, io-png.c: Made sure all the error cases involving
jpeg or png load/saves clean themselves up properly. Marked some
variables needed for cleanup volatile so they aren't clobbered by
setjmp.
Owen Taylor [Sun, 20 Jan 2002 02:16:54 +0000 (02:16 +0000)]
Move back into gtk-engines
Kristian Rietveld [Sat, 19 Jan 2002 20:15:56 +0000 (20:15 +0000)]
fix a load of open line ends (cell_edited): modified patch from German Poo
Sat Jan 19 20:49:41 2002 Kristian Rietveld <kris@gtk.org>
* demos/gtk-demo/editable_cells.c: fix a load of open line ends
(cell_edited): modified patch from German Poo Caaman~o
to fix up old_text declaration and free the memory
(do_editable_cells): unref the model after creating the treeview
* demos/gtk-demo/list_store.c: fix a load of open line ends,
(add_columns): set the sort column id, so we can sort
* demos/gtk-demo/tree_store.c: fix a load of open line ends,
(do_tree_store): unref the model after creating the treeview
Havoc Pennington [Sat, 19 Jan 2002 18:51:48 +0000 (18:51 +0000)]
link to new X11 section in a lot of places when mentioning the window
2002-01-19 Havoc Pennington <hp@pobox.com>
* gtk/gtkwindow.c: link to new X11 section in a lot of places when
mentioning the window manager.
* gtk/gtkwidget.c (gtk_widget_hide_on_delete): don't mention
window manager since we're portable.
2002-01-19 Havoc Pennington <hp@pobox.com>
* gtk/x11.sgml: add a mostly-empty X11 section
* gtk/framebuffer.sgml: make title consistent with windows section
* gtk/tmpl/gtkdrawingarea.sgml: couple of fixes
Jeff Garzik [Sat, 19 Jan 2002 17:54:11 +0000 (17:54 +0000)]
Wrap case values in GPOINTER_TO_UINT(). Fixes build with gcc 3.x.
Sat Jan 19 08:47:41 2002 Jeff Garzik <jgarzik@mandrakesoft.com>
* gdk/linux-fb/gdkproperty-fb.c (gdk_atom_name):
Wrap case values in GPOINTER_TO_UINT(). Fixes build with gcc 3.x.
* gtk/gtkmain.c: Include sys/types.h if G_OS_UNIX.
Fixes build with gcc 3.x and -ansi.
Duarte Loreto [Sat, 19 Jan 2002 17:30:46 +0000 (17:30 +0000)]
Updated Portuguese translation.
2002-01-19 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
Owen Taylor [Sat, 19 Jan 2002 07:52:52 +0000 (07:52 +0000)]
Catch invalid borders, and warn.
Sat Jan 19 02:45:17 2002 Owen Taylor <otaylor@redhat.com>
* src/pixbuf-render.c (theme_pixbuf_compute_hints): Catch
invalid borders, and warn.
Owen Taylor [Sat, 19 Jan 2002 07:28:56 +0000 (07:28 +0000)]
fix image file names
Owen Taylor [Sat, 19 Jan 2002 07:24:59 +0000 (07:24 +0000)]
add missed file
Owen Taylor [Sat, 19 Jan 2002 06:45:45 +0000 (06:45 +0000)]
Fix problems when an engine declaration occurs in a reopened style, and
Fri Jan 18 23:01:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_parse_style): Fix problems when
an engine declaration occurs in a reopened style, and
g_free() of objects when errors occur.
Owen Taylor [Sat, 19 Jan 2002 05:39:43 +0000 (05:39 +0000)]
Add an extrodinarily ugly example.
Sat Jan 19 00:32:14 2002 Owen Taylor <otaylor@redhat.com>
* examples/*: Add an extrodinarily ugly example.
* src/pixbuf-draw.c (draw_simple_image): Never shape
the window, even if we are allowed to. Shaping is
ugly -- if the widget isn't NO_WINDOW (most are),
you'll just have to draw it rectangular.
* src/pixbuf-render.c (pixbuf_render): Always use
gdk_pixbuf_render_alpha() with FULL_ALPHA() as the
type.
* pixbuf.h src/pixbuf-render.c (theme_pixbuf_compute_hints): To
speed up scaling, cache whether pixbufs have constant rows
or constant columns.
* src/pixbuf-render.c (pixbuf_render): Speed up scaling
by using the hints from compute_hints().
Owen Taylor [Fri, 18 Jan 2002 23:14:45 +0000 (23:14 +0000)]
Fix for changes to draw_focus.
Fri Jan 18 18:14:11 2002 Owen Taylor <otaylor@redhat.com>
* src/pixbuf-draw.c (draw_focus): Fix for changes to draw_focus.
Matthias Clasen [Fri, 18 Jan 2002 21:37:31 +0000 (21:37 +0000)]
Clarify documentation. (#69026)
* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
Clarify documentation. (#69026)
* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
missing initialization of adjustment. (#69025)
Yuri Syrota [Fri, 18 Jan 2002 10:08:16 +0000 (10:08 +0000)]
Updated Ukrainian translation